package org.lex.progress;

public interface Progress {
	public enum Status {
		NEW, RUNNING, ERROR, FINISHED;
	}

	public long getMinimum();

	public long getProgress();

	public long getMaximum();

	public long elapsedTime();

	public Status getStatus();

	public void addProgressListener(ProgressListener l);

	public void removeProgressListener(ProgressListener l);
}
